package org.apache.directory.mavibot.btree;

public class GeneralBenchmark 
{
	public static void main( String[]args ) throws Exception
	{
		if( args.length<1 )
		{
			System.out.println( "wrong number of arguments" );
			return;
		}
		if(Integer.parseInt( args[0] )>3 && Integer.parseInt( args[0] )<1)
		{
			System.out.println( "first argument must be between 1 and 3" );
			return;
		}
		switch( Integer.parseInt( args[0] ) )
		{
		case 1:
			BenchMark.main( args );
			break;
		case 2:
			BenchMarchInsertValue.main( args );
			break;
		case 3:
			BenchMarkGetValue.main( args );
			break;
		}
	}
}